﻿using System;

/// <summary>
/// Summary description for CarPremiumClaimLoading
/// </summary>
/// 
namespace CE.Provider
{
    public class CarPremiumClaimLoading
    {
        public CarPremiumClaimLoading()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }


        private Int64 _providerpreclid;
        private Int64 _providercompanyId;
        private Int32 _noofclaim;
        private string _claimamt;
        private string _ncd;
        private string _adoptedloading;
        private float _rate;

        //common field name
        private Int64 _refceuserid;
        private bool _status;
        private DateTime _createddate;
        private DateTime _modifieddate;

        //extra field for future extend
        private string _info1; //new rate
        //private string _info2;
        //private string _info3;
        //private string _info4;
        //private string _info5;
        //private Int64 _ninfo1;
        //private Int32 _ninfo2;
        //private float _finfo1;
        //private float _finfo2;
        private DateTime _dinfo1; //effectivity date

        public Int64 ProviderPreCLId
        {
            get { return _providerpreclid; }
            set { _providerpreclid = value; }
        }

        public Int64 ProviderCompanyId
        {
            get { return _providercompanyId; }
            set { _providercompanyId = value; }
        }

        public Int32 NoOfClaim
        {
            get { return _noofclaim; }
            set { _noofclaim = value; }
        }

        public string ClaimAmt
        {
            get { return _claimamt; }
            set { _claimamt = value; }
        }

        public string AdoptedLoading
        {
            get { return _adoptedloading; }
            set { _adoptedloading = value; }
        }

        public string NCD
        {
            get { return _ncd; }
            set { _ncd = value; }
        }

        public float Rate
        {
            get { return _rate; }
            set { _rate = value; }
        }

        public Int64 RefCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }

        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }

        public string Info1
        {
            get { return _info1; }
            set { _info1 = value; }
        }

        //public string Info2
        //{
        //    get { return _info2; }
        //    set { _info2 = value; }
        //}

        //public string Info3
        //{
        //    get { return _info3; }
        //    set { _info3 = value; }
        //}

        //public string Info4
        //{
        //    get { return _info4; }
        //    set { _info4 = value; }
        //}

        //public string Info5
        //{
        //    get { return _info5; }
        //    set { _info5 = value; }
        //}

        //public Int64 NInfo1
        //{
        //    get { return _ninfo1; }
        //    set { _ninfo1 = value; }
        //}

        //public Int32 NInfo2
        //{
        //    get { return _ninfo2; }
        //    set { _ninfo2 = value; }
        //}

        //public float FInfo1
        //{
        //    get { return _finfo1; }
        //    set { _finfo1 = value; }
        //}

        //public float FInfo2
        //{
        //    get { return _finfo2; }
        //    set { _finfo2 = value; }
        //}

        public DateTime DInfo1
        {
            get { return _dinfo1; }
            set { _dinfo1 = value; }
        }

        public void ClearFields()
        {
        
            _providerpreclid = 0;
            _providercompanyId = 0;
            _noofclaim = 0;
            _claimamt = "";
            _adoptedloading = "";
            _ncd = "";
            _rate = 0.0f;

            //common field name
            _refceuserid = 0;
            _status = false;
            _createddate = new DateTime();
            _modifieddate = new DateTime();

            //extra field for future extend
            _info1 = "";
            //_info2 = "";
            //_info3 = "";
            //_info4 = "";
            //_info5 = "";
            //_ninfo1 = 0;
            //_ninfo2 = 0;
            //_finfo1 = 0.0f;
            //_finfo2 = 0.0f;
            _dinfo1 = new DateTime();
        }
    }
}
